<div ng-init="init();" class="dialog-container mdl-shadow--8dp mdl-layout--fixed-header mobile-dialog QT-service LoadTemplate-dialog">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="'QT_standard.common.loadModule.title' | translate"></div>
        <div class="close-btn" ng-click="dialog.back();">
            <img src="image/smes_v340/close.png"></img>
        </div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div class="kmi-text-fields loadMode-fields" ng-repeat="template in dialog.user_template track by $index" ng-click="dialog.selectMode($index);" ng-class="{'is-select': template.isSelect}">
                <div class="icon-container">
                    <div class="circle"></div>
                </div>
                <label class="label" ng-bind="template.model_name"></label>
                <div class="icon-container" ng-click="dialog.deleteMode(template);">
                    <img src="image/smes_v340/W_Com_Delet1_nor_32.png" ng-show="!template.isSelect"></img>
                    <img src="image/smes_v340/W_Com_Delet1_sel_32.png" ng-show="template.isSelect"></img>
                </div>
            </div>
        </div>
        <div class="footer">
            <div class="btn cancel" ng-click="dialog.back();">取消</div>
            <div class="btn confirm" ng-click="dialog.confirm();" ng-disabled="dialog.isDisabled()">確認</div>
        </div>
    </div>
</div>
